﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IInterPrxHelper extends RMIProxyObject implements IInterPrx
    {
        public static const NAME:String = "Message.Game.IInter";

        public function IInterPrxHelper()
        {
            name = "IInter";
            return;
        }// end function

        public function chat_async(param1:AMI_IInter_chat, param2:SChatMsg) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("chat");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function lookupRequest_async(param1:AMI_IInter_lookupRequest, param2:int, param3:SEntityId, param4:ELookUpType) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("lookupRequest");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            param3.__write(_loc_7);
            param4.__write(_loc_7);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function lookupRequestCrossToplist_async(param1:AMI_IInter_lookupRequestCrossToplist, param2:SEntityId) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("lookupRequestCrossToplist");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function testNet_async(param1:AMI_IInter_testNet, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("testNet");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function votePlayer_async(param1:AMI_IInter_votePlayer, param2:int, param3:SEntityId) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("votePlayer");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            param3.__write(_loc_6);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

    }
}
